package com.yu.init.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName spot
 */
@TableName(value ="spot")
@Data
public class Spot implements Serializable {
    /**
     * 景点id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long spotid;

    /**
     * 景点名称
     */
    private String spotname;

    /**
     * 景点图片
     */
    private String spotimage;

    /**
     * 景点地址
     */
    private String spotaddress;

    /**
     * 景点介绍
     */
    private String spotintroduce;

    /**
     * 景点路线
     */
    private String routes;

    /**
     * 创建景点时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}